package com.vf.admin.miaodong.entity;

import com.vf.admin.common.db.annotation.Column;
import com.vf.admin.common.db.annotation.NoColumn;
import com.vf.admin.common.db.annotation.Table;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 动态评论表
 */
@Table(name = "app_comment")
public class AppComment implements Serializable {
    private static final long serialVersionUID = 1L;
    @Column(length = 11, name = "id", index = true)
    private Integer id;
    private Integer dynamicid;//动态id
    private String neirong;//评论内容
    private Date createtime;//评论时间
    private Integer sex;//评论人性别
    private Integer num;//点赞数量
    private String ids;//点赞的用户ID集合（,）分割
    private Integer userid;//评论人id
    private String pic;//评论人头像
    private String nick;//评论人名称
    private String phone;//评论人电话
    private Integer status;//1正常 2屏蔽(删除)

    @NoColumn
    private List<AppCommentDianzan> commentDianzanList;
    @NoColumn
    private List<AppCommentReply> commentReplyList;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getDynamicid() {
        return dynamicid;
    }

    public void setDynamicid(Integer dynamicid) {
        this.dynamicid = dynamicid;
    }

    public String getNeirong() {
        return neirong;
    }

    public void setNeirong(String neirong) {
        this.neirong = neirong;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    public String getNick() {
        return nick;
    }

    public void setNick(String nick) {
        this.nick = nick;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getIds() {
        return ids;
    }

    public void setIds(String ids) {
        this.ids = ids;
    }

    public List<AppCommentDianzan> getCommentDianzanList() {
        return commentDianzanList;
    }

    public void setCommentDianzanList(List<AppCommentDianzan> commentDianzanList) {
        this.commentDianzanList = commentDianzanList;
    }

    public List<AppCommentReply> getCommentReplyList() {
        return commentReplyList;
    }

    public void setCommentReplyList(List<AppCommentReply> commentReplyList) {
        this.commentReplyList = commentReplyList;
    }
}
